<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <link rel="stylesheet" href="./node_modules/fullpage.js/dist/jquery.fullpage.min.css">
    <link rel="stylesheet" href="./node_modules/animate.css/animate.min.css">
    <style>
        body {  
            overflow:hidden;  
        }  
        .wrap {
           width: 800px;
           margin: 0 auto;
        }  
        .clearfix::after {
           content: '';
           display: block;
           clear: both; 
        }
        .wow {
            float: left;
            height: 150px;
            width: 150px;
            border-radius: 50%;
            background: palevioletred;
            margin: 20px;
        }
        .lightBlue {
            background: lightblue;
        }
        .lightcoral {
            background: lightcoral;
        }
        .lightgray {
            background: lightgray;
        }
        #myMenu {
            position: fixed;
            top: 0;
            left: 0;
            z-index: 999;
            color: black;
        }
    </style>
</head>
<body>
        <ul id="myMenu">
                <li data-menuanchor="firstPage" class="active"><a href="#firstPage">First section</a></li>
                <li data-menuanchor="secondPage"><a href="#secondPage">Second section</a></li>
                <li data-menuanchor="thirdPage"><a href="#thirdPage">Third section</a></li>
            </ul>
        <div id="fullpage">
            <div class="section lightcoral">
                    <h2>第一屏</h2> 
                    <div class="wrap clearfix">
                    <div class="wow slideInLeft" data-wow-duration="2s" data-wow-delay="0.5s" data-wow-offset="50"  data-wow-iteration="1"></div>
                    <div class="wow fadeInDown" data-wow-duration="2s" data-wow-delay="0.5s" data-wow-offset="50"  data-wow-iteration="1"></div>
                    <div class="wow slideInRight" data-wow-duration="2s" data-wow-delay="0.5s" data-wow-offset="50"  data-wow-iteration="1"></div> 
                    <div class="wow fadeIn" data-wow-duration="2s" data-wow-delay="0.5s" data-wow-offset="50"  data-wow-iteration="1"></div>
                    <div class="wow fadeInDownBig" data-wow-duration="2s" data-wow-delay="0.5s" data-wow-offset="50"  data-wow-iteration="1"></div>
                    <div class="wow fadeInLeft" data-wow-duration="2s" data-wow-delay="0.5s" data-wow-offset="50"  data-wow-iteration="1"></div> 
                    </div>
                </div>
            <div class="section lightblue">
                    <h2>第二屏</h2> 
                    <div class="wrap clearfix">
                    <div class="wow fadeInUp" data-wow-duration="2s" data-wow-delay="0.5s" data-wow-offset="50"  data-wow-iteration="1"></div>
                    <div class="wow fadeInUpBig" data-wow-duration="2s" data-wow-delay="0.5s" data-wow-offset="50"  data-wow-iteration="1"></div>
                    <div class="wow flipInX" data-wow-duration="2s" data-wow-delay="0.5s" data-wow-offset="50"  data-wow-iteration="1"></div> 
                    <div class="wow flipInY" data-wow-duration="2s" data-wow-delay="0.5s" data-wow-offset="50"  data-wow-iteration="1"></div>
                    <div class="wow lightSpeedIn" data-wow-duration="2s" data-wow-delay="0.5s" data-wow-offset="50"  data-wow-iteration="1"></div>
                    </div>
                </div>
            <div class="section lightgray">
                    <h2>第三屏</h2> 
                    <div class="wrap clearfix">
                        <div class="wrap clearfix">
                        <div class="wow slideInLeft" data-wow-duration="2s" data-wow-delay="0.5s" data-wow-offset="50"  data-wow-iteration="1"></div>
                        <div class="wow fadeInDown" data-wow-duration="2s" data-wow-delay="0.5s" data-wow-offset="50"  data-wow-iteration="1"></div>
                        <div class="wow slideInRight" data-wow-duration="2s" data-wow-delay="0.5s" data-wow-offset="50"  data-wow-iteration="1"></div> 
                        <div class="wow fadeIn" data-wow-duration="2s" data-wow-delay="0.5s" data-wow-offset="50"  data-wow-iteration="1"></div>
                        <div class="wow fadeInDownBig" data-wow-duration="2s" data-wow-delay="0.5s" data-wow-offset="50"  data-wow-iteration="1"></div>
                    </div>
            </div>
        </div>       
    <script src="./node_modules/jquery/dist/jquery.min.js"></script>
    <script src="./node_modules/fullpage.js/dist/jquery.fullpage.min.js"></script>
    <script src="./node_modules/wowjs/dist/wow.min.js"></script>
    <script type="text/javascript">
        $(document).ready(function() {
            $('#fullpage').fullpage(
                {   
                    anchors:['firstPage', 'secondPage', 'thirdPage'],
                    menu: myMenu,
                    fixedElements: "#header",
                    scrollBar: true,
                afterRender: function(){
                        var wow = new WOW({
                        animateClass: 'animated',
                        });
                       wow.init();
                    }
                }
            );
          });
     </script>
</body>
</html>